package com.ruoyi.house_sale.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目信息对象 ProjectInfo
 * 
 * @author ruoyi
 * @date 2022-03-28
 */
public class ProjectInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目编号 */
    private Long projectid;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectname;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String gardenname;

    /** 小区代码 */
    @Excel(name = "小区代码")
    private String gardencode;

    /** 建筑面积 */
    @Excel(name = "建筑面积")
    private BigDecimal buildarea;

    /** 使用面积 */
    @Excel(name = "使用面积")
    private BigDecimal usearea;

    /** 绿化面积 */
    @Excel(name = "绿化面积")
    private BigDecimal viewarea;

    /** 开工时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开工时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date starttime;

    /** 竣工时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "竣工时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    /** 位置 */
    @Excel(name = "位置")
    private String location;

    /** 房产总数 */
    @Excel(name = "房产总数")
    private BigDecimal hoursecount;

    /** 期望售价 */
    @Excel(name = "期望售价")
    private BigDecimal saleprice;

    /** 排序序号 */
    @Excel(name = "排序序号")
    private Long orderid;

    /** 是否可售（是，否） */
    @Excel(name = "是否可售", readConverterExp = "是=，否")
    private String ispaid;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    public void setProjectid(Long projectid) 
    {
        this.projectid = projectid;
    }

    public Long getProjectid() 
    {
        return projectid;
    }
    public void setProjectname(String projectname) 
    {
        this.projectname = projectname;
    }

    public String getProjectname() 
    {
        return projectname;
    }
    public void setGardenname(String gardenname) 
    {
        this.gardenname = gardenname;
    }

    public String getGardenname() 
    {
        return gardenname;
    }
    public void setGardencode(String gardencode) 
    {
        this.gardencode = gardencode;
    }

    public String getGardencode() 
    {
        return gardencode;
    }
    public void setBuildarea(BigDecimal buildarea) 
    {
        this.buildarea = buildarea;
    }

    public BigDecimal getBuildarea() 
    {
        return buildarea;
    }
    public void setUsearea(BigDecimal usearea) 
    {
        this.usearea = usearea;
    }

    public BigDecimal getUsearea() 
    {
        return usearea;
    }
    public void setViewarea(BigDecimal viewarea) 
    {
        this.viewarea = viewarea;
    }

    public BigDecimal getViewarea() 
    {
        return viewarea;
    }
    public void setStarttime(Date starttime) 
    {
        this.starttime = starttime;
    }

    public Date getStarttime() 
    {
        return starttime;
    }
    public void setEndtime(Date endtime) 
    {
        this.endtime = endtime;
    }

    public Date getEndtime() 
    {
        return endtime;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setHoursecount(BigDecimal hoursecount) 
    {
        this.hoursecount = hoursecount;
    }

    public BigDecimal getHoursecount() 
    {
        return hoursecount;
    }
    public void setSaleprice(BigDecimal saleprice) 
    {
        this.saleprice = saleprice;
    }

    public BigDecimal getSaleprice() 
    {
        return saleprice;
    }
    public void setOrderid(Long orderid) 
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }
    public void setIspaid(String ispaid) 
    {
        this.ispaid = ispaid;
    }

    public String getIspaid() 
    {
        return ispaid;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectid", getProjectid())
            .append("projectname", getProjectname())
            .append("gardenname", getGardenname())
            .append("gardencode", getGardencode())
            .append("buildarea", getBuildarea())
            .append("usearea", getUsearea())
            .append("viewarea", getViewarea())
            .append("starttime", getStarttime())
            .append("endtime", getEndtime())
            .append("location", getLocation())
            .append("hoursecount", getHoursecount())
            .append("saleprice", getSaleprice())
            .append("orderid", getOrderid())
            .append("ispaid", getIspaid())
            .append("description", getDescription())
            .toString();
    }
}
